<!--  帮助 start -->
    <div class="help_center" >
     	
     	<div id="help_center" class="help_detail hidden">
	     		<h3>{$_lang['what']}{$model_info['model_name']}？</h3>
		        <p><!--{eval echo kekezu::filter_input($model_info['model_desc'])}--></p>
      	</div>
  
      	<div class="help_down ">
			<a href="#" class="action_show">任务说明<span class="arrow_b"></span></a>
		</div>
	</div>
 <!--  帮助 end -->


 
        <!--from表单 start-->
        <div class="form_box clearfix box border_n">
         <form action="{$basic_url}" method="post" name="frm_step2" id="frm_step2">
	  	<input type="hidden" name="step2" value="step2">
	  	<input type="hidden" name="formhash" value="{FORMHASH}">
                <div class="rowElem clearfix">
                    <label class="grid_7">
                        <strong>{$_lang['industry']}{$_lang['zh_mh']}</strong>
                    </label>
                    <div class="grid_16">
                        <select name="indus_pid" id="indus_pid" title="{$_lang['select_industry']}"  onchange="showIndus(this.value)" limit = "required:true;between:5-10" msg = '{$_lang['industry_no_choose']}' msgArea="span_indus">
                            <option value="">{$_lang['select_industry']}</option>
                      		{loop $indus_p_arr $v}
								 <option value="{$v['indus_id']}" {if $r_info['indus_pid']==$v['indus_id']}selected{/if}>{$v['indus_name']}</option>
							{/loop} 
						 </select>
						 
              
                    <span  id="reload_indus">
                        <select name="indus_id" id="indus_id" limit = "required:true;between:5-10" msg='{$_lang['industry_z_no_choose']}' title='{$_lang['choose_part']}' msgArea="span_indus">
                            <option value="">{$_lang['choose_part']}</option>
							{if $r_info['indus_id']}
								{loop $indus_arr $k $v}
		                       		 <option value="{$v['indus_id']}" {if $r_info['indus_id']==$v['indus_id']}selected{/if}>{$v['indus_name']}</option>
								{/loop}
							{/if}
                        </select>
					</span>
					<span class="cc00 ml_5 mr_5">*</span>
					<span id="span_indus"  class="ml_5"></span>
                    </div>
                </div>
				
                <div class="rowElem clearfix">
                    <label class="grid_7">
                        <strong>{$_lang['prom_type']}{$_lang['zh_mh']}</strong>
                    </label>
                    <div class="grid_16">
						<label><input class="border_n" type="radio" name='zf_obj' id='zf_1' value='shop' {if $r_info['zf_obj']=='shop'||!$r_info['zf_obj']}checked='checked'{/if}>{$_lang['tao_shop']}</label>
						<label><input class="border_n" type='radio' name='zf_obj' id='zf_2' value='goods' {if $r_info['zf_obj']=='goods'}checked='checked'{/if}>{$_lang['tao_goods']}</label>
                   	</div>
                </div>
				
                <div class="rowElem clearfix" id="get_prom_type">
                    <label class="grid_7">
                        <strong>{if $r_info['zf_obj']=='shop'||!$r_info['zf_obj']}掌柜名称{else}商品链接{/if}{$_lang['zh_mh']}</strong>
                    </label>
                    <div class="grid_16">
                   		  <input name="taobao_url" id="taobao_url" type="text"
						  value="{$r_info['taobao_url']}"  size="20"
						   msgArea="span_taobao" limit="required:true;len:2-200" msg="输入不能为空" style="width:200px"  class="mr_5"/>
							<span class="cc00 mr_5">*</span>
							<span id="span_taobao"></span>
							
							<button id="tao_info" class='hidden' type='button' onclick='taoInfo();'><span class="loop  icon"></span>{$_lang['get_shop_info']}</button>
                   			<button id="tao_goods" class='hidden' type='button' class='hidden' onclick='taoGoods();'><span class="loop  icon"></span>{$_lang['get_goods_info']}</button>
				    </div>
                </div>
				
                <div class="rowElem clearfix">
                    <label class="grid_7">
                        <strong>{$_lang['title']}{$_lang['zh_mh']}</strong>
                    </label>
                    <div class="grid_16">
                        <input name="txt_title" id="txt_title" type="text" value="<!--{eval echo kekezu::escape($r_info['txt_title'])}-->" title="{$_lang['txt_title']}" size="34" msgArea="span_title"
						limit="required:true;len:5-50" msg="{$_lang['msg_title']}" maxlength=50 style="width:375px"  class="mr_5"/>
						<span class="cc00 mr_5">*</span>
                        <span id="span_title">{$_lang['span_title']}</span>
                    </div>
                </div>
				  <div class="rowElem clearfix po_re">
                    <label class="grid_7">
                        <strong>{$_lang['platform']}</strong>
                    </label>
                    <div class="grid_16"> 
                    	 <input class="border_n" type="checkbox" name="platform[]"  id="delivery_platform_sina" value="sina" checked>
						  <label class="mr_10">{$_lang['sina']}</label> 
                    	 <input class="border_n" type="checkbox" name="platform[]" id="delivery_platform_ten" value="ten">
						  <label  class="mr_10">{$_lang['ten']}</label> 
						  <span id='platform'></span>
                    </div>
                </div>
				<div class="rowElem clearfix">
                    <label class="grid_7">
                        <strong>{$_lang['task_needs']}</strong>
                    </label>
                    <div class="grid_10">
                        <textarea style="width:98%" rows="5" name="tar_content" id="tar_content"  onkeydown="checkInner(this,140,event)">{$r_info['tar_content']}</textarea>
                     	<span id="length_show"></span>
					</div>
                </div>
                <div class="rowElem clearfix lit_form border_n" id='div_wb_img' style="display:none;">
                    <label class="grid_7">
                        <strong>{$_lang['tao_ico']}：</strong>
                    </label>
                    <!--上传内容-->
                    <div class="grid_16">
                        <input type="hidden" name="wb_img"><img id='wb_img' style="max-width:100%; _width:350px"/>
						<input type='hidden' name='prom_url' id='prom_url' size='45' value='{$r_info['prom_url']}'>
                    </div>
                    <!--end 上传内容-->
                </div>
                    	
			 <div class="rowElem clearfix po_re">
                    <label class="grid_7">
                        <strong>{$_lang['others_need']}</strong>
                    </label>
                    <div class="grid_16">
						<input class="border_n" type="checkbox" name="new_is_at" id="new_at_demand" value="1"> <label class="mr_10">{$_lang['need_at']}</label> 
						<span id="span_new_at_num" style="display:none">
						  <input type="text" name="new_at_num" id="new_at_num" size="4" value="{if $r_info['new_at_num']}$r_info['new_at_num']{else}5{/if}" 
							   limit="required:true;type:int;betwwen:1-5" msg="{$_lang['input_error']}" msgArea="msg_new_at_num" title="{$_lang['at_limit_num']}"> {$_lang['people']}
							<span id="msg_new_at_num"></span>
						</span>
                    </div>
                </div>
				
              <div class="rowElem clearfix">
                    <label class="grid_7">
                        <strong>{$_lang['contact']}{$_lang['zh_mh']}</strong>
                    </label>
                    <div class="grid_16">
                        <input name="txt_mobile" id="contact_mobile" type="text" value="{if $release_info['txt_mobile']}$release_info['txt_mobile']{else}$user_info['mobile']{/if}"  title="{$_lang['mobile_title']}" size="34" msgArea="span_mobile"
						limit="required:true;type:mobileCn" msg="{$_lang['mobile_msg']}" maxlength="50"  class="mr_5"/>
						<span class="cc00 mr_5">*</span>
                        <span id="span_mobile">{$_lang['contact_can_no_null']}</span>
                    </div>
                </div>	
       			
            </form>
        </div><!--from表单 end-->
		
        <div class="step_button">
            <button type="submit" name="is_submit" onclick="stepCheck_tao('$model_id');" class="big button">{$_lang['next_step']}</button>
            <span class="block"><input type="checkbox" name="agreement" id="agreement" checked>
                <label>
                    {$_lang['agree']}《<a href="" class="agreement_link">{$_lang['agreement']}</a>》
                </label>
            </span>
        </div>
		<div class="agreement_part clearfix" style="display:none;">
			<p><!--{tag 任务发布协议}--></p>
	    </div>

	


<script type="text/javascript">
	var zf_obj = "{$r_info['zf_obj']}";
	var assign = "{$r_info['assign']}";
	var wb_img = "{$r_info['wb_img']}";
	var editor = '';
</script>
<script type="text/javascript" src='task/taobao/{SKIN_PATH}/taobao_pub.js'></script>
